﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace FakeXiecheng.API.Moldes
{
    /// <summary>
    /// 旅游图片类
    /// </summary>
    public class TouristRoutePicture
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id {  get; set; }
        [MaxLength(100)]
        public string Url {  get; set; }
        [ForeignKey("TburistRouteId")]
        public Guid TburistRouteId { get; set; }
        public TouristRoute TouristRoute { get; set; }
    }
}
